package com.chengqs.rainbow.auth.remote;

import com.chengqs.rainbow.auth.util.SpringContextUtils;
import org.springframework.stereotype.Component;

/**
 * <B>主类名称：</B>RemoteFactory<BR>
 * <B>概要说明：</B>enter<BR>
 *
 * @author: chengqs
 * @create: 2025-09-15 21:44:09
 **/
@Component
public class RemoteFactory<T> {

    public Remote <T>getRemote(String domain) {
        return SpringContextUtils.getBean(domain + "Remote");
    }
}
